class Person {
    constructor(name, age) {
        this.name = name
        this.age = age
    }
    say() {
        console.log(this);
    }
}

const p = new Person("hyy", 18)
p.say()

const x = p.say
x()